﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TournamentGenerator.Base.Subscriber
{
	/// <summary>
	/// This class loads and stores the information for a <see cref="ISubscriber"/>
	/// </summary>
	public class SubscriberStore : TournamentGenerator.Base.Subscriber.ISubscriberStore
	{
		#region Methods

		/// <summary>
		/// Load all the subscribers.
		/// </summary>
		/// <returns>An enumerable of <see cref="ISubscriber"/> objects.</returns>
		public IEnumerable<ISubscriber> Load()
		{
			//throw new NotImplementedException();
			yield return new Subscriber("Subscriber A");
			yield return new Subscriber("Subscriber B");
			yield return new Subscriber("Subscriber D");
		}

		/// <summary>
		/// Stores the specifiec subscriber.
		/// </summary>
		/// <param name="item"> <see cref="ISubscriber"/> object which must be stored.</param>
		public void Store(ISubscriber item)
		{
			throw new NotImplementedException();
		}

		#endregion Methods
	}
}
